<#assign el=args.htmlid?html>
<script type="text/javascript">//<![CDATA[
new Alfresco.EntityRelated("${el}").setOptions(
{
   siteId: "${page.url.templateArgs.site}",
   entity: "${entity!}"
}).setMessages(${messages});
//]]></script>

<div id="${el}-body" class="entity-related">
	<div class="heading">${msg("entity-related.title")}</div>
	<div id="${el}-related" class="related"></div>
</div>